package com.cssy.xxkj.logic.service;

import java.math.BigDecimal;
import java.util.Map;

import javax.servlet.http.HttpServletRequest;

import org.springframework.transaction.annotation.Transactional;

import com.cssy.base.service.IBaseService;
import com.cssy.xxkj.logic.entity.LogicProductionDispatchingDetailCancelDO;
import com.cssy.xxkj.logic.entity.LogicProductionDispatchingDetailDO;
import com.cssy.xxkj.logic.entity.LogicProductionDispatchingDetailItemDO;
import com.plat.exception.SyBaseException;

/**
 * 派工取消
 * @author zeyong.gui
 *
 */
public interface ILogicProductionCancelService extends IBaseService<LogicProductionDispatchingDetailCancelDO> {

	@Transactional
	public LogicProductionDispatchingDetailCancelDO cancelSave(LogicProductionDispatchingDetailDO detailEntity, 
				HttpServletRequest request)throws SyBaseException;
	
	@Transactional
	public void cancelItemSave(LogicProductionDispatchingDetailCancelDO cancelEntity, 
				LogicProductionDispatchingDetailItemDO detailItem, BigDecimal theQuantity) throws SyBaseException;
	
	@Transactional
	public Map<String, BigDecimal> findQueryHasCancelToMap(Map<String, Object> paramMap)throws SyBaseException;
	
}
